package com.reverie.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.List;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Rui.Zhou
 * @since 2024-02-03
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("mh_region")
public class Region implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("region_id")
    private Integer regionId;

    private Integer parentId;

    private String regionName;

    private Boolean regionType;

    private Integer agencyId;

    private Boolean enabled;

    private Integer shipFee;

    private Integer minShipNum;

    private Integer stepFee;

    private Integer notShipFee;

    private Integer stepNum;

    @TableField(exist = false)
    private List<Region> children;
}
